#ifndef NETWORK_H
#define NETWORK_H

#include "common.h"
#include "online_list.h"

int connect_to_server();
void* recv_thread_func(void* arg);
void write_message(int socket_fd, struct online_user* online_list);

#endif // NETWORK_H